package com.product.magina.wechatserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 分房计划
 */
@Setter
@Getter
public class DsmtDistributionPlan extends BaseEntity {

    private Integer projectId;
    private Integer planStatusId;//客户_分房计划 状态(逻辑删除)
    private String name;
    private String desctiption;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date actStartDate;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entranceBeginTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date entranceEndTime;
    private Date endDate;
    private Integer returnHouseAreaTypeId;
//    private List<DsmtReturnHouseAreaType> returnHouseAreaTypeIdList;
//    private String returnHouseAreaTypeStr;
    private String returnHouseAreaTypeIdStr;
    //类型（住宅/商铺）
    private String type;
    //项目状态 0-草稿 1-发布 2-进行中 3-结束
    private Integer isValid;
    //摇珠面积
    private BigDecimal planArea;
    private Integer planType;//1.摇珠/2.摇房/3.摇珠摇房//4摇标签//5.标签摇房
    private Integer entranceType;//1-广度优先；2-深度优先
    private Integer parentPlanId;
    private String parentPlanName;
//    private List<DsmtPlanTagDataEntity> tagList;
    private String tagName;

    //摇珠结果
    //TODO 分房数据 后期再补
    //申报结果
    private String declareResult;
    private Integer declareNum;//申报数量
    private Integer divisionNum;//分房数量
    //进门号
    private Integer entranceNo;//dsmt_event_entrance
    //排序号
    private String orderNo;//dsmt_event_result
    //序号???
    private String roomNumber;//dsmt_event_result -> return_house_id ->dsmt_return_house
    private Integer declareAreaId;//申报面积id

    private String customerCode;//客户身份证

    //项目名称
    private String projectName;

    //回签套数
    private Integer planReturnHouseCount;

    //参与人数
    private Integer planCustomerCount;

    //已复核人数
    private Integer reviewedCount;

//    private List<DeclarePlanResultModel> modelList;

    private Integer entranceStatus;
    private String usableTitle;//显示名字




}
